﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package ZLocalization {

    public class LocalizationToken {

        protected var m_attributes:Array;

        public function LocalizationToken(){
            this.m_attributes = new Array();
        }
        public function filterIndexes(_arg1:Array):Array{
            var _local4:Array;
            var _local2:Array = new Array();
            var _local3:int;
            while (_local3 < _arg1.length) {
                _local4 = Utilities.arrayDiff(this.m_attributes, _arg1[_local3]);
                if (_local4.length == 0){
                    _local2.push(_local3);
                } else {
                    if ((((((_local4.length == 1)) && (LocalizationObjectToken.GENDERS.hasOwnProperty(_local4[0])))) && (!((this is LocalizationName))))){
                        _local2.push(_local3);
                    };
                };
                _local3++;
            };
            return (_local2);
        }
        public function addAttributes(_arg1:Array):void{
            this.m_attributes = this.m_attributes.concat(_arg1);
        }
        public function getString():String{
            throw (new Error("Must override getString function when extending LocalizationToken"));
        }

    }
}//package ZLocalization 
